import http from '@/utils/request'

//获取今日登录用户数
export async function getTodayLoginApi(parm){
  return await http.get("/user/todayLogin",parm)
}

export async function getNotProcessedApi(parm){
  return await http.get("/feedback/notProcessed",parm)
}

export async function getTurnoverApi(parm){
  return await http.get("/journal/turnover",parm)
}

export async function getTodaySellTotalApi(parm){
  return await http.get("/equipmentBuy/todaySellTotal",parm)
}

//获取预约图表数据
export async function getFieldBookChartApi(parm){
  return await http.get("/fieldBook/chart",parm)
}

//获取租借图表数据
export async function getRentDataChartApi(parm){
  return await http.get("/equipmentRent/chart",parm)
}

//获取出售图表数据
export async function getBuyDataChartApi(parm){
  return await http.get("/equipmentBuy/chart",parm)
}
